package com.yb.guigu.pick.rabbitmq.messager.api.model;

import lombok.*;
import lombok.experimental.Accessors;

import java.io.Serializable;

/**
 * Copyright (C), 2022-2023, 姚兵
 * Author: 32210
 * Date: 2023/5/9 14:20
 * FileName: XczxRabbitMQMessage
 * Description:
 */

@Data
@Builder
@Accessors(chain = true)
@NoArgsConstructor
@AllArgsConstructor
@ToString(callSuper = true)
public class RabbitMQMessage<T extends MessageContent<?>>   implements Serializable {
    T content;
    private String rabbitId;
    private String exchange;
    private String queueName;
    private String routingKey;

}
